package com.just521.xinshoutong.errorHandler;
//
//	15|	14	13	12	11|	10	9	8	7	6	5|	4	3	2	1	0
//	
//A 15,1-failed,0-success  
//B 14-11,soft type,0-common,1-justnote,2-justschedual
//C 10-5,function code
//D 4-0,error info

//A--1 failed
//B--0 common
//	C--0 common
//		D--0 unknown
//		D--1 null pointer
//		D--2 store media full
//		D--3 data empty
//	C--1 data access
//		D--0 read error
//		D--1 write error
//		D--2 copy error
//		D--3 conflict error
//		D--4 NotExist error
//	C--2 SDCard access
//		D--0 not available
//		D--1 full disk
//		D--2 
//	C--3 Net access
//		D--0 URL error
//		D--1 Connect error
//		D--2 Server error
//	C--4 Weibo access
//		D--0 Repeate_Error
//		D--1 
//		D--2 
//	C--5 TencentWeibo access
//		D--0 OAuth_Error
//		D--1 
//		D--2 
//	C--6 VIP
//		D--0 token error
//		D--1 key not found
//		D--2 
public class errorDefine{
	public static final short Common_Success = (short)0x0000;
	public static final short Common_Quit = (short)0x0001;
	public static final short Common_Unknown_Error = (short)0x8000;
	public static final short Common_NullPointer_Error = (short)0x8001;
	public static final short Common_StoreMedia_Full_Error = (short)0x8002;
	public static final short Common_Data_Empty_Error = (short)0x8003;
	public static final short Common_NotLogin = (short)0x8004;

	public static final short DataAccess_Read_Error = (short)0x8020;
	public static final short DataAccess_Write_Error = (short)0x8021;
	public static final short DataAccess_Copy_Error = (short)0x8022;
	public static final short DataAccess_Conflict_Error = (short)0x8023;
	public static final short DataAccess_NotExist_Error = (short)0x8024;

	public static final short SDCardAccess_NotAvailable_Error = (short)0x8040;
	public static final short SDCardAccess_FullDisk_Error = (short)0x8041;

	public static final short HTTP_URL_Error = (short)0x8060;	
	public static final short HTTP_TIMEOUT_Error = (short)0x8061;
	public static final short HTTP_Server_Error = (short)0x8062;	

	public static final short Weibo_Repeate_Error = (short)0x8080;
	
	public static final short QWeibo_OAuth_Error = (short)0x80A0;
	
	public static final short VIP_Token_Error = (short)0x80C0;	
	public static final short VIP_Key_NotFound = (short)0x80C1;
	public static final short VIP_Encrypt_Error = (short)0x80C2;
	public static final short VIP_Key_Payed = (short)0x80C3;
	public static final short VIP_Expired = (short)0x80C4;
	public static final short VIP_Paying = (short)0x80C5;
	public static final short VIP_VipAccountConflict = (short)0x80C6;
}
